package com.nbsaas.boot;

import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
public class NettyServerRunner implements CommandLineRunner {

    @Override
    public void run(String... args) throws Exception {
        new Thread(WebSocketServer::boot).start();
    }
}
